﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTOs
{
    public class RolesDTO
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Key]
        public int roleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? roleName { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; } = false;
        /// <summary>
        /// 用户信息ID
        /// </summary>
        [Key]
        public int userInfoId { get; set; }
    }
}
